<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Banner extends Model
{
    //初始化数表
    public $table = 'banner';

    //查询所有数据
    public function getList()
    {
        return $this->get()->toArray();
    }
}
